package com.yx.memcache;

public class CachedServer {

	private String ip;
	private int port;
	public CachedServer(String ip,int port){
		this.ip=ip;
		this.port=port;
	}
	public String getIp() {
		return ip;
	}
	public int getPort() {
		return port;
	}
	public String toString() {
		return getIp() + ":" + getPort();
	}
}
